package com.shop.model.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author shop
 * @since 2018-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShopcartTb implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车id
     */
    private Integer shopcartId;

    /**
     * 商品数量
     */
    private Integer cartGoodsNum;

    /**
     * 商品id
     */
    private Integer cartGoodsId;

    /**
     * 商品价格
     */
    private BigDecimal cartGoodsPrice;

    /**
     * 小计
     */
    private BigDecimal cartSubtotal;

    /**
     * 用户id
     */
    private Integer cartUserId;

    /**
     * 商品属性id集（逗号隔开）
     */
    private String cartGoodsAttributeId;


}
